﻿using System;

namespace DreamCube.Foundation.Speech
{
    public static class MySpeech
    {
        /// <summary>
        /// 朗读文件
        /// </summary>
        /// <param name="target"></param>
        public static void Speech(this String target)
        {
            VoicePlayer voice = new VoicePlayer();
            voice.SpeakMsg(target);
        }
    }
}
